/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package redeneural;

import weka.core.Instance;

/**
 *
 * @author Bruno Vicente
 */
public class Classificacao {

    private Treinamento redeneural;
    private int tipo;
    private Instance instancias;

    public Classificacao(Treinamento redeneural){
        this.redeneural = redeneural;
    }

    public void RedeNeuralPensando() throws Exception{
        if(redeneural == null)
            throw new Exception("A rede Neural não foi criada e treinada!");

        instancias = new Instance(redeneural.getInstancia().numAttributes());

        for(int i = 0;i<redeneural.getInstancia().numAttributes()-1;i++){
              tipo = redeneural.getInstancia().attribute(i).type();
        }
    }

}
